package top.majuan.springboot3.service.lianxi.Contact;

import top.majuan.springboot3.base.PageBean;
import top.majuan.springboot3.base.R;
import top.majuan.springboot3.entity.lianxi.TbContact;
import top.majuan.springboot3.vo.PageVo;

public interface TbContactService {

     R<String> insert(TbContact tbContact);

    R<PageVo<TbContact>> query(TbContact tbContact, PageBean pageBean);

    R<String> delete(Integer id);

    R<String> update(TbContact tbContact);

    R<TbContact> queryByid(Integer id);
}
